package com.boss.salary.dao;

import com.boss.salary.entity.AgencyVerify;
import com.boss.salary.entity.PersonExt;

import java.lang.reflect.InvocationTargetException;
import java.util.List;

public interface IPersonExtBeginDao {
    /**
     * 批量增加
     * @param personExts
     * @throws NoSuchMethodException
     * @throws InvocationTargetException
     * @throws IllegalAccessException
     */
    void batchSavePersonExtBegin(List<PersonExt> personExts) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException;

    /**
     * 通过区划和单位id批量删除
     * @param province
     * @param agencyIds
     */
    void batchPhysicalDeletePersonExtBegin(String province, List<String> agencyIds);

    /**
     * 获取机构内所有人员信息
     * @param mofDivCode
     * @param agencyids
     * @return
     */
    List<PersonExt> queryPersonExt(String mofDivCode,List<String> agencyids);

    void updatePersonExtBeginCode(List<AgencyVerify> updateList);
}
